xend: Fix up check "mac" address sooner change
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 25 Jun 2010 14:13:11 +0000 (15:13 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 25 Jun 2010 14:13:11 +0000 (15:13 +0100)
commita2fab4fce5401b510d237fd12d12a5382c5091b0
tree43754b9b2a61decc65e4d4de9037c674f86c2f7d
parentd5da15306fbff357726d6c8ba0925a7aca1bbb31
xend: Fix up check "mac" address sooner change

In changeset 21653,
         dev_type = sxp.name(dev_config)
should not have been moved, otherwise, the checking "mac"
paragraph is of no use.

(The original patch as submitted was correct but I had to make the
change manually as it had been mangled.)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by Chunyan Liu <CYLiu@novell.com>
tools/python/xen/xend/XendDomainInfo.py